using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;

namespace MoneyTracking.DAL
{
    public class ExpenseData
    {
        public List<Common.Expense> GetAllExpense()
        {
            var expenses =  new List<Common.Expense>();

            using (var entities = new TextDatabaseEntities())
            {
                List<Expense> items = entities.Expense.ToList();
            }
            return expenses;
        }
        
    }
}